/**
 * @CopyRight tstudy.com.cn
 * @author wuyahui
 * @E-mail wuyahui0124505@163.com
 * @version 1.0.0
 * @Date 2015年4月22日 下午4:12:06
 */
package com.tstudy.laoshibang.mode;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable
public class Dictionary {
	public Dictionary(int key, String name, String type) {
		this.code = key;
		this.name = name;
		this.type = type;
	}
	
	public Dictionary() {
	}

	@DatabaseField(generatedId = true)
	public long id;
	@DatabaseField
	public int code;
	@DatabaseField
	public String name;
	@DatabaseField
	public String type;
	
	
	public boolean isSelected;

	public final static String TYPE_CATEGORY = "category";
	public final static String TYPE_PRICE = "price";
	public final static String TYPE_PROVINCE = "province";
	public final static String TYPE_CITY = "city";
	public final static String TYPE_COUNTY = "county";
	public final static String TYPE_SCHOOL = "school";
	public final static String TYPE_LEVEL = "level";
}
